package fishinpool;
public class AnotherMinDistance extends MinDistance {
    @Override
    public int calcDistance(int point, int testPoint){
        return (int) Math.sqrt(point * point - testPoint * testPoint);
    }
}
